
const productListTpl = require("../views/cate-product-list.html");
export default {
    render(selector, data) {
        let renderedListTpl = template.render(productListTpl, { data })
        console.log(renderedListTpl)
        $(selector).html(renderedListTpl)
    }
}